package sf_errors

// 运价模块
const (
	ErrorPolicyNotFound            = 208000 + iota // 找不到运价信息
	ErrorPolicyAdjustmentLimitOnce                 // 自动调价限制添加一条
	ErrorThisPolicyDeleted                         // 改运价信息已被删除
	ErrorPolicyOperation                           // 运价操作失败
)

func registerPricingError() {
	errorMessageMap[ErrorPolicyNotFound] = "ErrorPolicyNotFound"                       // 找不到运价信息
	errorMessageMap[ErrorPolicyAdjustmentLimitOnce] = "ErrorPolicyAdjustmentLimitOnce" // 自动调价限制添加一条
	errorMessageMap[ErrorThisPolicyDeleted] = "ErrorThisPolicyDeleted"                 // 改运价信息已被删除
	errorMessageMap[ErrorPolicyOperation] = "ErrorPolicyOperation"                     // 运价操作失败
}
